﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Web;

namespace NCMIS.AccessControl
{
    public class Ace
    {
        public Principal Principal { get; set; }
        public string[] Permissions { get; set; }
        public bool Direct { get; set; }
    }

    [CollectionDataContract(ItemName = "ACE", Name = "getACEResponse", Namespace = "http://mynamespace.com")]
    public class Aces : List<Ace>
    {
        public Aces() { }
        public Aces(List<Ace> accessControlEntries) : base(accessControlEntries) { }
    }
}
